package com.example.demo.domain.system.user;

import com.example.demo.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
import java.util.List;

@Data
@Document("sysUser")
public class SysUserEntity extends BaseEntity {
    /*角色ID列表*/
    private List<String> roleIdList;
    /*手机号*/
    private String mobile;
    /*密码*/
    private String PWord;
    /*姓名*/
    private String name;
    /*是否在线*/
    private Integer isOnline;
    /*是否启用*/
    private boolean isEnabled;
    /*最后登录时日*/
    private Date lastLoginDateTime;
    /*身份证号*/
    private String IDCardNo;
    /*注册日期时日*/
    private Date registeredDateTime;
    /*用户图标*/
    private String icon;
}
